using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using razor教程.Models;

namespace razor教程.Pages
{
    public class LoginModel : PageModel
    {
        [BindProperty]
        public Admin Admin { get; set; }
        public void OnGet()
        {
            Console.WriteLine("dd");
        }

        public void OnPost()
        {
            string pwd = Admin.Password;

        }
    }
}
